<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>The Grid: GridObject Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">The Grid
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">GridObject Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="GridObject" -->
<p><code>#include &lt;<a class="el" href="_models_layer_8h_source.html">ModelsLayer.h</a>&gt;</code></p>

<p><a href="class_grid_object-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#afd45a49485d2865e65ec4c4d7b479cca">setBatch</a> (GLBatch *<a class="el" href="class_grid_object.html#a86c140a130786678dfe2760299348cbf">batch</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#a252874075a79f9d75fc9bf23b4708c00">fill</a> (<a class="el" href="classmap_item.html">mapItem</a> *item)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#ad6c49c4cc2c6c76ab0be9364e2fea0b3">fill</a> (<a class="el" href="class_bullet.html">Bullet</a> *bullet)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#abe6617063415ae29cb38f2edc5384101">fill</a> (int x, int y, int <a class="el" href="class_grid_object.html#a208edb50f1ed9d56d52a70257c3b363c">offsetX</a>, int <a class="el" href="class_grid_object.html#a80301bb212c50b5232c8bc07d42310b9">offsetY</a>, GLfloat rotateVecX, GLfloat rotateVecY)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#a80609838e02b1851feeea54d70ca60cd">fill</a> (int x, int y, int <a class="el" href="class_grid_object.html#a208edb50f1ed9d56d52a70257c3b363c">offsetX</a>, int <a class="el" href="class_grid_object.html#a80301bb212c50b5232c8bc07d42310b9">offsetY</a>, double <a class="el" href="class_grid_object.html#a4cc1c2b13ed412c53061d79fc5750d36">rotateAngle</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#a2670d97d7a02e43c034bba10bce72e25">move</a> (<a class="el" href="class_grid.html">Grid</a> *grid)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#af7bb74128e295fb251a5b40c6b3bbcdb">GridObject</a> (int _id=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#a37d7b0d1dfa77d8f1804ea5f0af3d6ba">~GridObject</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#aa69ce029cdb70abbdb99d83c515248a2">id</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#a2ea7bd007a5f3e3389ffb756b4564d1b">posX</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#ad2c1188af9aabda77266e19d88234bde">posY</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#a208edb50f1ed9d56d52a70257c3b363c">offsetX</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#a80301bb212c50b5232c8bc07d42310b9">offsetY</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GLfloat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#a2fc82eaf17b39fffc62474bcc1a65dc3">ZRotateX</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GLfloat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#a9283506fe3da4e16842020593733561e">ZRotateY</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GLfloat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#a4cc1c2b13ed412c53061d79fc5750d36">rotateAngle</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GLBatch *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#a86c140a130786678dfe2760299348cbf">batch</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">M3DMatrix44f&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_object.html#a7470cbec309ac54faa4b7c87b3df1ea6">transformMatrix</a></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af7bb74128e295fb251a5b40c6b3bbcdb"></a><!-- doxytag: member="GridObject::GridObject" ref="af7bb74128e295fb251a5b40c6b3bbcdb" args="(int _id=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GridObject::GridObject </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>_id</em> = <code>0</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a37d7b0d1dfa77d8f1804ea5f0af3d6ba"></a><!-- doxytag: member="GridObject::~GridObject" ref="a37d7b0d1dfa77d8f1804ea5f0af3d6ba" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GridObject::~GridObject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a252874075a79f9d75fc9bf23b4708c00"></a><!-- doxytag: member="GridObject::fill" ref="a252874075a79f9d75fc9bf23b4708c00" args="(mapItem *item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GridObject::fill </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmap_item.html">mapItem</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad6c49c4cc2c6c76ab0be9364e2fea0b3"></a><!-- doxytag: member="GridObject::fill" ref="ad6c49c4cc2c6c76ab0be9364e2fea0b3" args="(Bullet *bullet)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GridObject::fill </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_bullet.html">Bullet</a> *&#160;</td>
          <td class="paramname"><em>bullet</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abe6617063415ae29cb38f2edc5384101"></a><!-- doxytag: member="GridObject::fill" ref="abe6617063415ae29cb38f2edc5384101" args="(int x, int y, int offsetX, int offsetY, GLfloat rotateVecX, GLfloat rotateVecY)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GridObject::fill </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>offsetX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>offsetY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GLfloat&#160;</td>
          <td class="paramname"><em>rotateVecX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GLfloat&#160;</td>
          <td class="paramname"><em>rotateVecY</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a80609838e02b1851feeea54d70ca60cd"></a><!-- doxytag: member="GridObject::fill" ref="a80609838e02b1851feeea54d70ca60cd" args="(int x, int y, int offsetX, int offsetY, double rotateAngle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GridObject::fill </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>offsetX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>offsetY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>rotateAngle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2670d97d7a02e43c034bba10bce72e25"></a><!-- doxytag: member="GridObject::move" ref="a2670d97d7a02e43c034bba10bce72e25" args="(Grid *grid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GridObject::move </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_grid.html">Grid</a> *&#160;</td>
          <td class="paramname"><em>grid</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afd45a49485d2865e65ec4c4d7b479cca"></a><!-- doxytag: member="GridObject::setBatch" ref="afd45a49485d2865e65ec4c4d7b479cca" args="(GLBatch *batch)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GridObject::setBatch </td>
          <td>(</td>
          <td class="paramtype">GLBatch *&#160;</td>
          <td class="paramname"><em>batch</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a86c140a130786678dfe2760299348cbf"></a><!-- doxytag: member="GridObject::batch" ref="a86c140a130786678dfe2760299348cbf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GLBatch* <a class="el" href="class_grid_object.html#a86c140a130786678dfe2760299348cbf">GridObject::batch</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa69ce029cdb70abbdb99d83c515248a2"></a><!-- doxytag: member="GridObject::id" ref="aa69ce029cdb70abbdb99d83c515248a2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_grid_object.html#aa69ce029cdb70abbdb99d83c515248a2">GridObject::id</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a208edb50f1ed9d56d52a70257c3b363c"></a><!-- doxytag: member="GridObject::offsetX" ref="a208edb50f1ed9d56d52a70257c3b363c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_grid_object.html#a208edb50f1ed9d56d52a70257c3b363c">GridObject::offsetX</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a80301bb212c50b5232c8bc07d42310b9"></a><!-- doxytag: member="GridObject::offsetY" ref="a80301bb212c50b5232c8bc07d42310b9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_grid_object.html#a80301bb212c50b5232c8bc07d42310b9">GridObject::offsetY</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2ea7bd007a5f3e3389ffb756b4564d1b"></a><!-- doxytag: member="GridObject::posX" ref="a2ea7bd007a5f3e3389ffb756b4564d1b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_grid_object.html#a2ea7bd007a5f3e3389ffb756b4564d1b">GridObject::posX</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad2c1188af9aabda77266e19d88234bde"></a><!-- doxytag: member="GridObject::posY" ref="ad2c1188af9aabda77266e19d88234bde" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_grid_object.html#ad2c1188af9aabda77266e19d88234bde">GridObject::posY</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4cc1c2b13ed412c53061d79fc5750d36"></a><!-- doxytag: member="GridObject::rotateAngle" ref="a4cc1c2b13ed412c53061d79fc5750d36" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GLfloat <a class="el" href="class_grid_object.html#a4cc1c2b13ed412c53061d79fc5750d36">GridObject::rotateAngle</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7470cbec309ac54faa4b7c87b3df1ea6"></a><!-- doxytag: member="GridObject::transformMatrix" ref="a7470cbec309ac54faa4b7c87b3df1ea6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">M3DMatrix44f <a class="el" href="class_grid_object.html#a7470cbec309ac54faa4b7c87b3df1ea6">GridObject::transformMatrix</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2fc82eaf17b39fffc62474bcc1a65dc3"></a><!-- doxytag: member="GridObject::ZRotateX" ref="a2fc82eaf17b39fffc62474bcc1a65dc3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GLfloat <a class="el" href="class_grid_object.html#a2fc82eaf17b39fffc62474bcc1a65dc3">GridObject::ZRotateX</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9283506fe3da4e16842020593733561e"></a><!-- doxytag: member="GridObject::ZRotateY" ref="a9283506fe3da4e16842020593733561e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GLfloat <a class="el" href="class_grid_object.html#a9283506fe3da4e16842020593733561e">GridObject::ZRotateY</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/GK/The Grid/TheGrid _doDokumentacji/graphic_engine/<a class="el" href="_models_layer_8h_source.html">ModelsLayer.h</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Fri Sep 30 2011 23:11:30 for The Grid by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
